import javax.annotation.processing.*;
import javax.lang.model.*;
import javax.lang.model.element.*;

import java.util.Set;

@SupportedAnnotationTypes(value = ("*"))
@SupportedSourceVersion(SourceVersion.RELEASE_7)
public class AnnotationProcessor extends AbstractProcessor {
    
    @Override
    public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
        for (TypeElement typeElement : annotations) {
            System.out.println(typeElement.getQualifiedName());
        }
        System.out.println(roundEnv.getRootElements().toString());
        return true;
    }
}